package com.woniu.venue.service;

import com.github.pagehelper.PageInfo;
import com.woniu.venue.dto.venueNotice.VenueNoticeDto;
import com.woniu.venue.model.VenueNotice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.venue.param.venueNotice.AddNoticeParam;
import com.woniu.venue.param.venueNotice.SearchNoticeParam;
import com.woniu.venue.param.venueNotice.UpdateNoticeParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
public interface VenueNoticeService extends IService<VenueNotice> {

    VenueNoticeDto updateNotice(UpdateNoticeParam param);

    VenueNoticeDto addNotice(AddNoticeParam param);

    void deleteNotice(Integer id);

    PageInfo<VenueNoticeDto> searchNotice(SearchNoticeParam param);

    List<VenueNoticeDto> loadForUser();

    VenueNoticeDto showNotice(Integer id);
}
